package edu.fdzc.system.mapper;

import edu.fdzc.system.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeacherMapper {
    Teacher selectByUsername(String username);

    void insert(Teacher teacher);

    void updateById(Teacher teacher);

    void deleteById(Integer id);

    Teacher selectById(Integer id);

    List<Teacher> selectAll(Teacher teacher);
}
